﻿using Sino.Tms.Primitives;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class PayableCost
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string PayableCostId { get; set; }

        public string OrderId { get; set; }

        public string CarrierOrderId { get; set; }

        public DateTime PaymentDate { get; set; }

        public decimal Price { get; set; }

        public FeeStatus Progress { get; set; }

        public FeeSettleType SettleType { get; set; }

        public PaymentMethod PaymentMethod { get; set; }

        public FeeType CostType { get; set; }

        public CostDrawableStatus DrawCashStatus { get; set; }

        public string Remarks { get; set; }

        public PayableCost()
        {
            this.PayableCostId = Guid.NewGuid().ToString();
        }

    }

}